package de.dhbw.horb.inf2013.vierFarbenProblem.viewModel.datatype;
/**
 * 
 * The interface for a tree (not implemented)
 *
 */
public interface Tree {
	/**
	 * adds a Vertex
	 * 
	 * @param v
	 *            the v
	 */
	public void addVertex(TreeVertex v);

	/**
	 * Reset all.
	 * 
	 * @param from
	 *            the id of the parent
	 * @param to
	 *            the id of the child
	 * 
	 */
	public void addEdge(int from, int to);

	/**
	 * gets the Vertex.
	 * 
	 * @param id
	 *            the vertex id
	 * @return the TreeVertex
	 */
	public TreeVertex getVertex(int id);

	/**
	 * counts the Vertexes
	 * 
	 * @return the number of Vertexes
	 */
	public int countVertexes();
}

